# -*- mode: autoconf; coding: utf-8-unix -*-

AC_INIT([Taverzekelt Felvetelek Elemzese Beadando], [0.1], [a.visegradi@gmail.com], [taverzekelt], [http://code.google.com/p/taverzekeles-bead-2012/])
AC_PREREQ([2.59])
AM_INIT_AUTOMAKE([1.10 no-define foreign])
AC_CONFIG_HEADERS([config.h])
AC_PROG_CXX

PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.0.0 gobject-2.0 gmodule-2.0 gthread-2.0])
PKG_CHECK_MODULES([ImageMagick], [Magick++ >= 3.0.0])

AM_CPPFLAGS=`pkg-config --cflags Magick++ glib-2.0 gthread-2.0`
AM_LDADD="`pkg-config --libs Magick++ glib-2.0 gthread-2.0` -llog4cxx"
AC_SUBST([AM_CPPFLAGS])
AC_SUBST([AM_LDADD])

AC_CONFIG_FILES([Makefile])
AC_OUTPUT